
package org.xteam.sled.ast;

import org.xteam.parser.runtime.Span;

public class FieldSpec extends org.xteam.parser.runtime.AstNode {
	
	
	protected Ident name;
	protected IntegerLiteral low;
	protected IntegerLiteral high;
	
	public FieldSpec(Span span, Ident name,IntegerLiteral low,IntegerLiteral high) {
		super(span);
		this.name = name;
		this.low = low;
		this.high = high;
	}
	
	
	public Ident getName() {
		return name;
	}
	
	public void setName(Ident name) {
		this.name = name;
	}
	
	public IntegerLiteral getLow() {
		return low;
	}
	
	public void setLow(IntegerLiteral low) {
		this.low = low;
	}
	
	public IntegerLiteral getHigh() {
		return high;
	}
	
	public void setHigh(IntegerLiteral high) {
		this.high = high;
	}
	

	public void visit(ISledVisitor visitor) {
		visitor.visitFieldSpec(this);
	}
}
